package com.moyq5.mvcmaker;

import java.io.File;

/**
 * 模块抽象
 * @author Moyq5
 * @date 2018年8月24日
 */
public class AbstractModule {

	/**
	 * 项目配置
	 */
	private Project project;
	/**
	 * 模块路径
	 */
	private String path;
	/**
	 * 包名
	 */
	private String fullPackage;
	
	public AbstractModule(Project pj, String moduleName, String modulePackage) {
		this.project = pj;
		this.path = pj.path() + File.separator + moduleName + "/src/main/java";
		this.fullPackage = pj.pack() + "." + modulePackage;
	}
	public Project project() {
		return project;
	}
	public String getPath() {
		return path;
	}
	public String getFullPackage() {
		return fullPackage;
	}
	
}
